package com.cdpm.system.domain.vo;

import io.swagger.annotations.ApiModel;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author WeiHongBin
 */

@EqualsAndHashCode
@Accessors(chain = true)
@ApiModel(value = "Work视图对象")
public class WorkVO {

    private Long id;

    private String title;

    private String description;

    private String cover_image_url;

    private List<Object> pages;

    private LocalDateTime created_at;

    private LocalDateTime updated_at;

    private boolean is_publish;

    private boolean is_template;

    private String created_by;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCover_image_url() {
        return cover_image_url;
    }

    public void setCover_image_url(String cover_image_url) {
        this.cover_image_url = cover_image_url;
    }

    public List<Object> getPages() {
        return pages;
    }

    public void setPages(List<Object> pages) {
        this.pages = pages;
    }

    public LocalDateTime getCreated_at() {
        return created_at;
    }

    public void setCreated_at(LocalDateTime created_at) {
        this.created_at = created_at;
    }

    public LocalDateTime getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(LocalDateTime updated_at) {
        this.updated_at = updated_at;
    }

    public boolean isIs_publish() {
        return is_publish;
    }

    public void setIs_publish(boolean is_publish) {
        this.is_publish = is_publish;
    }

    public boolean isIs_template() {
        return is_template;
    }

    public void setIs_template(boolean is_template) {
        this.is_template = is_template;
    }

    public String getCreated_by() {
        return created_by;
    }

    public void setCreated_by(String created_by) {
        this.created_by = created_by;
    }
}
